﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CafeOnline.MvcFramework.Grid {
    public enum SortOrder {
        asc,
        desc
    }

    public enum RequestType {
        get,
        post
    }

    public enum DataType {
        json,
        xml,
        local,
        jsonstring
    }

    public enum LoadUi {
        enable,
        disable,
        block
    }

    public enum MultiKey {
        altKey,
        ctrlKey,
        shiftKey
    }

    public enum PagerPos {
        center,
        left,
        right
    }

    public enum RecordPos {
        center,
        left,
        right
    }

    public enum Align {
        center,
        left,
        right
    }

    public enum Formatters {
        integer,
        number,
        currency,
        date,
        email,
        link,
        showlink,
        checkbox,
        select,
        multiRoleFormatter,
        roleFormatter,
        validityFormatter,
        templateFormatter,
        currencyFormatter,
        percentageFormatter,
        thumnailImageFormatter
    }

    public enum ToolbarPosition {
        top,
        bottom,
        both
    }

    public enum Direction {
        vertical,
        horizontal
    }

    public enum Searchtype {
        text,
        select,
        datepicker,
        datetimepicker,
        timepicker
    }

    public enum EditType {
        text,
        textarea,
        select,
        checkbox,
        password,
        button,
        image,
        file,
        custom
    }
}
